.class Lrexsee/natives/RexseeJavaView$2;
.super Ljava/lang/Object;
.source "RexseeJavaView.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/natives/RexseeJavaView;->create(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/natives/RexseeJavaView;

.field private final synthetic val$id:Ljava/lang/String;

.field private final synthetic val$style:Ljava/lang/String;

.field private final synthetic val$type:Ljava/lang/String;


# direct methods
.method constructor <init>(Lrexsee/natives/RexseeJavaView;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/natives/RexseeJavaView$2;->this$0:Lrexsee/natives/RexseeJavaView;

    iput-object p2, p0, Lrexsee/natives/RexseeJavaView$2;->val$id:Ljava/lang/String;

    iput-object p3, p0, Lrexsee/natives/RexseeJavaView$2;->val$type:Ljava/lang/String;

    iput-object p4, p0, Lrexsee/natives/RexseeJavaView$2;->val$style:Ljava/lang/String;

    .line 181
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 7

    .prologue
    .line 184
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$2;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/natives/RexseeJavaView;->access$0(Lrexsee/natives/RexseeJavaView;)Lrexsee/core/browser/Browser;

    move-result-object v0

    iget-object v1, p0, Lrexsee/natives/RexseeJavaView$2;->val$id:Ljava/lang/String;

    iget-object v3, p0, Lrexsee/natives/RexseeJavaView$2;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mUniqueId:I
    invoke-static {v3}, Lrexsee/natives/RexseeJavaView;->access$2(Lrexsee/natives/RexseeJavaView;)I

    move-result v2

    add-int/lit8 v4, v2, 0x1

    invoke-static {v3, v4}, Lrexsee/natives/RexseeJavaView;->access$3(Lrexsee/natives/RexseeJavaView;I)V

    iget-object v3, p0, Lrexsee/natives/RexseeJavaView$2;->val$type:Ljava/lang/String;

    iget-object v4, p0, Lrexsee/natives/RexseeJavaView$2;->val$style:Ljava/lang/String;

    iget-object v5, p0, Lrexsee/natives/RexseeJavaView$2;->this$0:Lrexsee/natives/RexseeJavaView;

    invoke-static/range {v0 .. v5}, Lrexsee/natives/ViewStyle;->create(Lrexsee/core/browser/Browser;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Lrexsee/natives/RexseeJavaView;)Lrexsee/natives/ViewTag;

    move-result-object v6

    .line 185
    .local v6, "viewTag":Lrexsee/natives/ViewTag;
    if-nez v6, :cond_0

    .line 186
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$2;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/natives/RexseeJavaView;->access$0(Lrexsee/natives/RexseeJavaView;)Lrexsee/core/browser/Browser;

    move-result-object v0

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v1

    const-string v2, "Invalid view type."

    invoke-virtual {v0, v1, v2}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    .line 190
    :goto_0
    return-void

    .line 189
    :cond_0
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$2;->this$0:Lrexsee/natives/RexseeJavaView;

    # getter for: Lrexsee/natives/RexseeJavaView;->mMap:Ljava/util/HashMap;
    invoke-static {v0}, Lrexsee/natives/RexseeJavaView;->access$4(Lrexsee/natives/RexseeJavaView;)Ljava/util/HashMap;

    move-result-object v0

    iget-object v1, p0, Lrexsee/natives/RexseeJavaView$2;->val$id:Ljava/lang/String;

    invoke-virtual {v0, v1, v6}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0
.end method
